.link-active{
  opacity: .7;
}

.plus-minus-body{
  position: relative;
  &::after{
    content: "";
    position: absolute;
    top: -20rpx;
    left: -20rpx;
    bottom: -20rpx;
    right: -20rpx;
    z-index: 0;
  }

  //small 小的
  //medium 中的
  //large 大的
  .plus-minus{
    display: flex;
    align-items: center;
    font-size:24rpx;
    position: relative;
    z-index: 1;
    >.step-prices-hint{
      position: absolute;
      color: #FF6868;
      //商品详情页
      &.item-detail{
        background: #fff;
        left: -370rpx;
        right: -30rpx;
        top: -61rpx;
        height: 60rpx;
        line-height: 60rpx;
        text-align: center;
        font-size: 28rpx;
        border-top: 1rpx solid #eee;
      }
      //购物车页
      &.shopping-cart{
        left: -300rpx;
        right: -25rpx;
        top: 60rpx;
        height: 26rpx;
        line-height: 26rpx;
        font-size: 22rpx;
      }
    }
    >.join-btn, >.presale-btn{
      background: #FDCA1F;
      color: #fff;
      text-align: center;
      &.unusable{
        background: #D0DBD7;
      }
    }
    >.add-cart-icon{
      width: 54rpx;
      height: 54rpx;
      >.image{
        width: 54rpx;
        height: 54rpx;
      }
    }
    //加减号容器
    .plus-minus-view{
      display: flex;
      align-items: center;
      >.btn{
        flex: initial;
        > .image{
          float: left;
        }
        &.unusable{
          opacity: .7;
        }
      }
      > .num{
        flex: 1;
        background: white;
        border-top: 2rpx solid #f2f2f2;
        border-bottom: 2rpx solid #f2f2f2;

        color: #616161;
        font-size: 26rpx;
        // margin: 0 1rpx;
        text-align: center;
      }
    }
    
    //small 小的
    &.small{
      >.join-btn{
        display: none;
      }
      >.presale-btn{
        height: 54rpx;
        line-height: 54rpx;
        width: 102rpx;
        border-radius: 54rpx;
      }
      >.plus-minus-view{
        height: 54rpx;
        align-items: flex-end;
        >.btn{
          width: 50rpx;
          height: 50rpx;
          >.image{
            width: 50rpx;
            height: 50rpx;
          }
        }
        > .num{
          width: 68rpx;
          flex: initial !important;
          height: 47rpx;
          line-height: 48rpx;
        }
      }
    }
    //medium 中的
    &.medium{
      >.join-btn, >.presale-btn{
        height: 58rpx;
        line-height: 58rpx;
        width: 100%;
        border-radius: 58rpx;
      }
      >.add-cart-icon{
        display: none;
      }
      >.plus-minus-view{
        width: 100%;
        >.btn{
          width: 82rpx;
          height: 58rpx;
          >.image{
            width: 82rpx;
            height: 58rpx;
          }
        }
        > .num{
          flex: 1;
          height: 58rpx;
          line-height: 58rpx;
        }
      }
    }
    //large 大的
    &.large{
      >.add-cart-icon{
        display: none;
      }
      >.join-btn, >.presale-btn{
        height: 88rpx;
        line-height: 88rpx;
        width: 100%;
        border-radius: 88rpx;
        font-size: 32rpx;
      }
      >.plus-minus-view{
        width: 100%;
        >.btn{
          width: 82rpx;
          height: 82rpx;
          >.image{
            width: 82rpx;
            height: 82rpx;
          }
        }
        > .num{
          flex: 1;
          height: 79rpx;
          
          line-height: 81rpx;
        }
      }
    }
  }
}

.good_box {
  width: 36rpx;
  height: 36rpx;
  z-index: 99;
  background: #00AE66;
  position: fixed;
  border-radius: 50%;
}

//购物车专用=====================
.shopping-cart-plus-minus{
  float: right;
}
.shopping-cart-page{
  position: relative;
  text-align: left;
  >.price-unit{
    color: #FF6868;
    font-size: 30rpx;
    height: 54rpx;
    // line-height: 54rpx;
    > .text{
      color: #A5A5A5;
      font-size: 24rpx;
    }
    .price{
      font-weight: bold;
    }
  }
  >.discount-repertory{
    position: absolute;
    height: 0;
    right: 0;
    z-index: 10;
    width: 150rpx;
    text-align: center;
    >.repertory{
      flex: initial;
      color:#A5A5A5;
      font-size:20rpx;
      margin-top: 5rpx;
    }
  }
}

/*优惠阶梯选择*/
.step-prices-body{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 10;
  >.step-prices{
    background: #fff;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    border-top-left-radius: 30rpx;
    border-top-right-radius: 30rpx;
    animation: step-prices-bottom .3s;
    overflow: hidden;
    >.title{
      height: 153rpx;
      position: relative;
      margin: 0 30rpx;
      border-bottom: 1rpx solid #eee;
      > .str{
        font-size: 38rpx;
        font-weight: bold;
        padding-top: 60rpx;
        text-align: left;
      }
      > .close-btn{
        width: 42rpx;
        height: 42rpx;
        position: absolute;
        right: 0rpx;
        top: 60rpx;
        > .image{
          width: 24rpx;
          height: 24rpx;
          margin: 10rpx 0 0 10rpx;
        }
      }
    }
    >.content{
      max-height: 600rpx;
      overflow-y: auto;
      .item{
        display: flex;
        border-bottom: 1rpx solid #eee;
        padding: 35rpx 0;
        align-items: center;
        position: relative;
        margin: 0 30rpx;
        &.disabled{
          opacity: .7;
        }
        >.left{
          flex: initial;
          width: 68rpx;
          > .image{
            display: block;
          }
        }
        >.right{
          text-align: left;
          flex: 1;
          color: #242424;
          font-size: 30rpx;
        }
      }
    }
    >.btn{
      margin: 20rpx 30rpx;
      .btn1{
        background: #FDCA1F;
        font-size: 32rpx;
        color: #fff;
        border-radius: 100rpx;
        height: 80rpx;
        line-height: 80rpx;
        &:active{
          opacity: 0.7;
        }
        &::after{
          border: 0;
        }
      }
    }
  }
}

@keyframes step-prices-bottom
{
  from {bottom: -1000rpx;}
  to {bottom: 0;}
}

/*输入*/
.input-body{
  position: fixed;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba($color: #000, $alpha: .4);
  >.input-view{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 21;
    background: #fff;
    padding: 10rpx;
    display: flex;
    align-items: center;
    >.left{
      flex: 1;
      >.input{
        text-align: left;
        height: 82rpx;
        line-height: 82rpx;
        font-size: 32rpx;
        padding-left: 10rpx;
      }
    }
    >.right{
      width: 120rpx;
      >.ok-btn{
        background: #FDCA1F;
        color: #fff;
        text-align: center;
        height: 82rpx;
        line-height: 82rpx;
        border-radius: 8rpx;
      }
    }
  }
}

.vip_card{
  height: 38rpx; 
 display: flex;
 align-items: center;
}
.vip_card--type{
  font-size: 16rpx !important;
  background-image: linear-gradient(135deg, #FFE800 0%, #FDBD1C 100%);
  color:white;
  padding:0rpx 8rpx;
  border-radius: 4rpx;
}
.vip_card--price{
  font-size: 32rpx;
  color:#FDBD1C;
  margin-left: 0rpx;
}
.normal_price{
  font-size: 18rpx;
  height: 20rpx;
  color: #989797;
}
.vip_card--type{
  display: inline-block;
  background-image: linear-gradient(-41deg, #76D6FD,  #01B8FF,#9AE2FF);
  color:white;
  padding:2rpx 8rpx;
}
.card_type--1{
   background-image: linear-gradient(-41deg,   #F9CB85 0%, #AD6629 100%) !important;
      box-shadow: inset 0 1rpx 3rpx 0 #A37044 !important;
}
.card_type--2{
  background-image: linear-gradient(-41deg, #EDEEF0 0%, #808691 100%) !important;
  box-shadow: inset 0 1rpx 3rpx 0 #FDC126 !important;
}
.card_type--3{
  background-image: linear-gradient(-41deg, #FDBD1C 0%, #FFE800 100%) !important;
}
.card_type--4{
background-image: linear-gradient(-41deg, #76D6FD, #01B8FF, #9AE2FF);

}
.vip_card--price{
   color: #01B8FF;
}
.price_type--1{
  color: #D79E5C !important;
}
.price_type--2{
  color: #828893 !important;
}
.price_type--3{
  color:#FDBD1C !important;
}
.price_type--4{
  color: #01B8FF !important;
}